package cn.cheems.domain.rebate.service;

import cn.cheems.domain.rebate.model.entity.BehaviorEntity;
import cn.cheems.domain.rebate.model.entity.BehaviorRebateOrderEntity;

import java.util.List;

/**
 * @author jtb
 * @description 行为返利服务接口
 * @create 2024-04-30 14:05
 */
public interface IBehaviorRebateService {

    /**
     * 创建行为动作的入账订单
     *
     * @param behaviorEntity 行为实体对象
     * @return 订单ID
     */
    List<String> createOrder(BehaviorEntity behaviorEntity);

    /**
     * 查询行为动作的入账订单
     * @param userId
     * @param outBusinessNo
     * @return
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
